<legend class='hyc-legend'>
    <i class="fa fa-check"></i>&nbsp; <span>确认收车</span>
</legend>
<div class="panel panel-default">
    <div class="panel-heading">确认收车</div>
    <div class="panel-body" style="padding-top: 5px; padding-bottom: 5px;">
        <div style="overflow: auto;">
            <div style="width: max-content;">
                <div class="thumbnail hyc-thumbnail"
                     ng-repeat="item in TichePicDate.data track by $index">
                    <img
                            ng-src="{{item.url || Context.path + '/image/huiyunche-logo.gif'}}"
                            style="height: 300px; cursor: pointer; width: 300px;"
                            ng-click="showPhones($index)">
                    <div class="hyc-caption">
                        <h5 class="text-center">{{item.alt}}</h5>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-md-6">
        <div style="position: relative;">
            <div class="btn btn btn-warning" style="width: 140px;">上传收车单据</div>
            <element ng-if="uploader">
                <input type="file" nv-file-select uploader="uploader" multiple style="display: block; width: 140px; height: 35px; position: absolute; top: 0; left: 0; opacity: 0; cursor: pointer;">
            </element>
        </div>
        <div id="qiniu_upload_container">
            <h3>上传队列</h3>
            <div>
                <div>
                    上传进度:&nbsp;&nbsp;当前队列数:&nbsp;&nbsp;{{uploader.queue.length}}
                    <div class="progress">
                        <div class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar" aria-valuenow="{{uploader.progress}}" aria-valuemin="0" aria-valuemax="100" ng-style="{ 'width': uploader.progress + '%' }">
                        </div>
                    </div>
                </div>
            </div>
            <div>
                <button type="button" class="btn btn-success btn-s" ng-click="uploader.uploadAll()" ng-disabled="!uploader.getNotUploadedItems().length">
                    全部上传
                </button>
                <button type="button" class="btn btn-warning btn-s" ng-click="uploader.cancelAll()" ng-disabled="!uploader.isUploading">
                    全部取消
                </button>
                <button type="button" class="btn btn-danger btn-s" ng-click="uploader.clearQueue()" ng-disabled="!uploader.queue.length">
                    全部删除
                </button>
            </div>
        </div>
    </div>
    <div class="col-md-6">
        <div style="position: relative;">
            <div class="btn btn btn-warning" style="width: 140px;">上传收车照片</div>
            <element ng-if="uploader">
                <input type="file" nv-file-select uploader="uploader2" multiple style="display: block; width: 140px; height: 35px; position: absolute; top: 0; left: 0; opacity: 0; cursor: pointer;">
            </element>
        </div>
        <div id="qiniu_upload_container2">
            <h3>上传队列</h3>
            <div>
                <div>
                    上传进度:&nbsp;&nbsp;当前队列数:&nbsp;&nbsp;{{uploader2.queue.length}}
                    <div class="progress">
                        <div class="progress-bar progress-bar-warning progress-bar-striped" role="progressbar" aria-valuenow="{{uploader2.progress}}" aria-valuemin="0" aria-valuemax="100" ng-style="{ 'width': uploader2.progress + '%' }">
                        </div>
                    </div>
                </div>
            </div>
            <div>
                <button type="button" class="btn btn-success btn-s" ng-click="uploader2.uploadAll()" ng-disabled="!uploader2.getNotUploadedItems().length">
                    全部上传
                </button>
                <button type="button" class="btn btn-warning btn-s" ng-click="uploader2.cancelAll()" ng-disabled="!uploader2.isUploading">
                    全部取消
                </button>
                <button type="button" class="btn btn-danger btn-s" ng-click="uploader2.clearQueue()" ng-disabled="!uploader2.queue.length">
                    全部删除
                </button>
            </div>
        </div>
    </div>
</div>
